package com.ruoyi.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum DataPermission {
    ALL("1", "全部数据权限"),
    CUSTOM("2", "自定数据权限"),
    DEPT("3", "部门数据权限"),
    DEPT_AND_CHILD("4", "部门及以下数据权限"),
    PERSONAL("5", "仅本人数据权限");
    private final String value;
    private final String label;
}